﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Zhuang.Utility.Common.DataBase;

namespace Zhuang.DAL
{
    public class Cms_NewsDAL
    {
        public DataTable GetTopNews(int count)
        {
            DataTable dt = null;
            string strSql = string.Format("select top  {0} * from Cms_News order by PublisherDate desc",count.ToString());
            dt = SqlHelper.Query(strSql).Tables[0];
            return dt;

        }
    }
}
